<?php

namespace frontend\modules\member\controllers;

use Yii;
use frontend\components\Controller;
use common\models\member\MemberType;

/**
 * 会员类型
 *
 * @author emhome <emhome@163.com>
 * @since 1.0
 */
class TypeController extends Controller {

    /**
     * @inheritdoc
     */
    public function actionIndex() {
        return MemberType::find()->active()->all();
    }

}
